package com.leyou.item.servcie.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.leyou.item.entity.CategoryBrand;
import com.leyou.item.mapper.CategoryBrandMapper;
import com.leyou.item.servcie.CategoryBrandService;
import com.leyou.item.servcie.CategoryService;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryBrandServiceImpl extends ServiceImpl<CategoryBrandMapper, CategoryBrand> implements CategoryBrandService {
    public List<Long> queryCategoryIdByBrandId(Long id){
        List<Long> categoryIds = baseMapper.queryCategoryIdByBrandId(id);
        return categoryIds;
    };
}
